package com.myhexin.globalbroker.rwa.service;

import com.myhexin.globalbroker.rwa.entity.constants.enums.ChainType;
import org.springframework.stereotype.Service;

import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @auther zhangzhonglv@myhexin.com
 * @date 2025/9/29
 */
@Service
public class RwaService {

    public List<String> queryEnabledChains() {
        return Arrays.stream(ChainType.values()).map(ChainType::getCode).collect(Collectors.toList());
    }
}
